Fixed #1: Logged CoreExceptions and other exceptions that are caught in
the plugin.