wxWidgets interface main window doesn't resize properly when extended gui is closed.
Current Behavior: When extended gui is displayed and then closed, the main window retains it's size. Note that if the extended gui is displayed, closed, displayed, closed, it returns to normal 'main-only' view.
Expected Behavior: When extended gui is displayed and then closed, the main window sizes back to where it was before extended interface was opened or if the window has been resized since the extended gui was displayed, the window should resize to have the height of the window minus the height of the extended gui.
Tested and confirmed in Xorg, untested elsewhere.