TextManager, state changing with buttons, deleting gameState

TextManager has got it's second element in map set back to pointer,
rather than an object itself.
UseFunction() of buttons no longer causes memory access violations when
the used function is changing current state (thanks to new solution, no
additional bools in MenuState, or functions in MenuActions namespace are
needed).
GameState is now removed from the activeStates after player clicks
surrender button on the waveMenu.