Added window size changed handling.
Event pane now replaces object pane when visible to save space. Resolves #3