Using more prominent dialogs in case of error.
Doing some initial type checking to prevent faulty execution of the plugin.