I tried to clean it up as much as I could, but the code is about is bad as you'd expect for being written in 1 weekend and then sloppily added to for 2 years. It's also now set up to automatically pull the latest updates from Github so tracking changes should be a lot easier.
Thanks a lot! This'll be interesting to look through.