Cleaning up code before starting sample game.