Added better uncaughtexceptionhandling

added a jframe that comes up and tells the user the uncaught exception
along with a stacktrace