I downloaded the params from the Painless360 Youtube channel for the setup of the Heewing T-1 Vtol from Andy Piper.
After testing everything seemed to work OK, and I could even do a transition from QLOITER to CRUZE and back to QLOITER again without a problem, but then after trying this for the second time while transitioning from CRUZE to QLOITER everything got crazy and he just fell from the sky.
Impossible to tell the log stops too early. Could also be a flight controller crash.
I recommend setting SCHED_LOOP_RATE to 300 - I have found that that flight controller cannot cope with 400