2014.09.04 MSS Code Factory 1.11.12333 setPanelMode() implementations fleshed out

The setPanelMode() implementations now check for the subset of
valid values that are appropriate for the window or panel in
question.

I believe all the state changes are properly tracked by the edit flow
events now, but I'll have to do some actual testing to be sure. :)

This is all very much untested GUI code at this point.  It builds.
It might work.  It might not.  'tis the Schroedinger's Cat of Code... :P