Peter's Amazing debugging work

The extensive work of Peter to debug the combined project. Peter worked for 17 hours straight, and has a working-ish system.