Started to changed the game mode management to use a stack.

Now the game modes are only loaded when necessary.

The game and editor context are still loaded by frame listener though.