Made some additions to the gui and removed connect on page load