Oh man, refactored pretty much everything. Except the GUI. That's still a pain in the hindquarters that needs rewriting.