New Gui integration
Assesment, Optimization working both in batched and not GUI mode