Major rehaul of GUI and architecture