Moved autoconnect out of gui create method