web: add form stricter parsing, better errors (fixes #194)