Removes exception when run with existing editors in the IDE (unhandled event loop)

Refs #6