Made the settings window a modal window
added settings for html render flags