Lots of things done. Currently working on the preferences dialog and the config file and how all that's going to work together.