Need vq wizard help
2014 q50 vq37. Dealing with some gremlins, have an issue where under heavy acceleration the car dies. Have had a few "smoking guns" had water from sunroof drains in the bcm, fixed that. Oil intrusion on passenger side cam position sensor, fixed that with new sensor. Found a few vacuum leaks with smoke machine, fixed that. has had a few repeat codes for maf replaced both maf and fixed wiring issues. Found transmission to have incorrect fluid and material, replaced it and performed relearn. Vehicle was in an accident and had a few things replaced body wise wiring looks havway alright but not great. Customer replaced both cam position sensors and crank position sensor and o2 sensors and cats, all seem to be reading as they should be. Now to the issue that im still having with it, while driving under heavy load wot it dies. Revving it under no load it revs to 3.5-4k and then dies same way. Under light revs to around 2.5k it hunts for a few seconds before slowly settling back down to idle. Performed idle air relearn, have checked continuity to throttle bodies and cam position sensors to ecm, have inspected ecm connector. Still having same rev and die issue. No codes other than when it dies for cam and crank position freeze frame shows nothing of use. Any help would be greatly appreciated.