Fix long delay in loading preview pane
Refactor CSS output functionality for fonts