More unfinished dev stuff

I haven't done much for a while so I figured I'd push this seeing as how
the registry functions between the cleaner and main program work. I also
think the next improvements will be code cleaning. I'll get back to the
registry later if that is the case.