add server check tempOpen logic
adjust main window frame