Set the default tab of the main ribbon control to the first tab (Server management) and replace all 'this.Close();' calls by 'Close();'.