refactoring and stuff
Toggling left bar! also a lot of other small adjustments