fix up UI.  enable stacktrace writer in debug mode, for uncaught
exceptions