-* add asserts all throughout the code to catch bugs.
-
-* new configuration class which handles the X db, with better functionality.
- i.e. make changes in the configuraiton save instantly, and stop saving over
- the config file on shutdown/reconfig.