Added GameLooper tests, and fixed bugs discovered.