Fixed a few problems with the validation implementation. Working on displaying error messages on the form.