cleanup/clarity
added getErrors method to form object