semi working version of new UI.
Some thread issues are addressed.