Threads to start and stop the game engine and inturn start and stop the game