added error checking to directory dialogs
Merge branch 'master' of github.com:duke-compsci408-fall2014/FailSafe