merging my changes
hardening against XSS vulns
still more stuff i missed
updated based on feedback
missed one
convert to debug
Merge pull request #4 from apanzerj/master

security hardening after discussion with Colton