submit: check for valid filetype. Small fixes.
form options
submit form options
Merge pull request #8 from vsantola/master

submit form options