Main now has functional GUI