Added uncaughtException so that I actually get errors if there is one