Fixed: cleaning up PanelSize changes

-Updated spacing in if/else/while statements

-Changed adjustBrowserDims private function to updatePanelSize to better reflect its purpose

-Renamed "UpdatePanelSize" event to "PanelSizeDidChange"

Refs #235