Timer delay function added. And waiting code in Game moved to using it.
Whops I accidently changed the CMakeList.txt file.