game: Replace throw with exit()
Move set_video_mode into separate file