retain chat box contents when attack is invalid

* Fixes #353
* Jenkins: http://jenkins.buttonweavers.com:8080/job/buttonmen-cgolubi1/102/
* Important: this has 468_post_wrapper merged, so please accept pull #474 first