Finally works. Randomly lags a bit sometimes, but repairs itself; I doubt it gets much better. Only debug code killing and some final testing left.