Reordered program parameters to be more logically grouped; improvements to HTML5 export