Added selection objects for switching the game mode, as well as some
small code changes and comments.