POST request gets stripped of html tags

Removed html tags with strip_tags() in POST request. Added some minor
fixes to the rest.