Clean up error handling and add form parsing.
Clean up error handling and add form parsing.

jmptrader/monsti,chrneumann/monsti,chrneumann/monsti,jmptrader/monsti,chrneumann/monsti,chrneumann/monsti,jmptrader/monsti,jmptrader/monsti,jmptrader/monsti