- Removed lots of unused variables, a few shadowed identifiers. - Removed a few sections of dead code.
Also restructured the player_inv/player_setup thing AGAIN. Now setup is all rules and inv is all interface.