The YAML::BadFile exception handler in DoFileOpen() tries to show a Gtk::MessageDialog but this hangs in PollScopes() deep inside a GTK event loop. We shouldn't be polling scopes in an error handler and the polling shouldn't be hanging with 100% CPU either.