Basic draft of the gui. Code not aesthetic. Added program close method.