Write stack trace to standard out in case there
is no GUI.