Bug fixes and cleanup

- Deleted tests and AutoTest.h
- Moved Gui Manager to ui folder
- Renamed Style Manager to Theme Manager and moved it to ui folder
- Fixed segmentation fault caused by not disconnecting signals
- minor bug fixes