Fixed keyboard handling for webkit browsers. ...

Fixed broken images in draft preview when app is hosted in subfolder.
Fixed positioning of sidebar in webkit browsers.