Made the program log any outter expections caught and then attempt to keep running.