Flyaway in land mode after GPS glitch

I’d be very concerned about the compass error. Without a reliable compass you can end up with some really erratic behavior.

Is your compass/gps unit mounted on a mast or directly on the frame? Any big electrical currents near it?