Merge pull request #1 from hugadams/cleanup

Updates
Merge branch 'cleanup' of https://github.com/hugadams/npsurfacecounter into cleanup
Added highlevel generic exception catcher to prevent major failurs in batch runs from occurring