Set background transparent for the web view if the window is undecorated.
CSS fixes and maximize event.
Added restored window state option.
Fixes. Toggle maximized state.