Game loop added.