Fixed horizontal splitpane constantly moving to the right with each application run

Added a call to wxTheApp->Yield() in EmbeddedLayout::restoreStateFromPath(),
since a delayed window size event was causing the split pane to be repositioned
AFTER the sash position had been restored from the registry.

Also cleaned up PanedPosition, removing unnecessary public members and method
parameters.