Small improvements

I've noticed that the webview's scrolling was a little choppy, that improves dramatically when you turn on layer backed mode on the view hierarchy.

Also, I've implemented the functionality to detach the preview from the editor, I only tested It on Yosemite, so It would be a good idea to test in previous versions before merging to make sure It's working fine.