return errors in validation form
made changes from issue #159
merged this branch with last two commits from downloads branch