renamed Game to LoopGame and changed stuff to prevent compiler warnings.