changed order of event handlers for file uploads. set initial event to prevent further events from firing if the file extension isn't correct. Fixes #312
Merge branch 'master' of https://github.com/NAVADMC/SpreadModel
Merge branch 'master' into Windows-staging