Unload plugins after 10 hook errors

Gives a bit of a buffer for minor errors that shouldn't disable the
plugin. Think hook errors will still get it disabled almost immediately.