Added level up ability through stats gui.

Fixed:

1. Pressing r while not in actual game crashed the client.
2. Putting in blueprints into project table crashed server.
3. Putting in materia into socketing crashed server.