deletegear rearrangement applied to branch too. if this causes desyncs you're probably in a crashy state already
couple more use after frees for gear deletion.
also rearranged lines a bit and added a redundant exit to try to proof things a bit.
more evidence we need rust.
Fix Racer ghost not resetting properly after a skip (
bug #565)