Introduce document-based application structure
Open a file
Save changes of file
Apply normalize.css to preview
Select a stylesheet of Preview from menu
Disable horizontal scroll on preview
Add a default css for preview
Restore scroll position of preview after reloading