Error out more usefully from formparams when required parameters are missing.
Added more convenient ways to use non-XHTML sp output.