Implemented Render section within startGameLoop().