Fixed preview logic. It displays the editor now.
Allow setting the default font size and font family.