Gui rewrite

Complete GUI rewrite enabling re sizable windows