Background parse

Improve background parsing behavior and performance. This includes a fix for the issue where the mouse cursor would appear with a spinning circle until it was moved if the preview pane was not open.

This also fixes #5