Set up game loop and such stuff