Lots of refactoring in the update system. much cleaner now. the GUI code is still a bit messy. more to come.