Plenty of refactoring.

Refactored a bunch of stuff, primarily CreateMainFrame and CreateNotorietyBar. Not to imply there isn't plenty of refactoring still to do.