some bug fixes, updated Form to help with error checking functions