Added more sensible initial widget sizes to BrowserEditor.

The sizes are also saved and restored when modes are switched.