Add function to detect if current view is loading in the preview pane
Properly render HTML that is asynchronously loaded into the preview pane

Refs #143