Fix (handled) exception in GUI-only mode