Ported UI to transact, refactored

Most Swing UI is now ported to transact.
Transact refactored to more packages.
Started porting SineDemo, which demonstrates most swing and graphing
features, to check ported code.