trim text inputs before form submission: closes #916
style header text a bit