Added Game::getFps, fixed game loop wait time, added performance callback, modified demo program