void restoreMainWnd()

This returns the SDM main window to the state it was in prior to a minimization or maximization, regardless of whether they were accomplished by the user or through the API. (via minimizeMainWnd or maximizeMainWnd, respectively).  If the main window is neither maximized or minimized at the time of this call, nothing happens.