The fix has three parts:
1) Adding "-enable-display" when configuring wxWidgets so that parenting to
a minimized window doesn't crash on Windows XP.
2) Adding special logic to WINDOWSET to show/hide the Commander through
wxWidgets functions so that wxWindow::IsShown() knows when it has been
hidden with WINDOWSET. Otherwise, the commander is still selected as the
parent.
3) Using the main frame as the parent window when the commander is docked
is minimized or is not visible on the screen. In these cases, the user's
eyes are probably on the screen window.