Fixed form validation bugs and described form library methods.
Resolved issue #4.