Refactored.
Refactored.
Made the sidebar disappear when looking at a player profile. Needs more work.