Lots of changes - almost all to get live viewer output working - which it now does. Some bugs remain, and quitting form crashes it, but all core functionality working.