Merge pull request #8 from nubs/master

Better exception handling/flashing