Correctly dispose previewer.
Hook back semantic highlighting preview.

Fixed #1002289
Use the configured background colors in the preview window
Merge pull request #827 from dragos/issue/syntax-color-pref-page-regression

Fix syntax color preference page