Send strings instead of numbers so we don't have to index on the other side.
If the character has not yet been chosen then force the character screen to open. Also fix a memory leak. Also fix server records of whether the menu is open.
Escape while the menu is open closes the buy menu, instead of opening the game ui.