[fix] subheading in standard print
[fix] trim strings in control.js
Merge pull request #804 from anandpdoshi/anand-august-29

[fix] subheading in standard print, trim strings in control.js