Fixed main program to use the singleton game engine