Large cleanup of global variables. Refactoring of sound service. Player profiles.