- added handling for new plugins
- prevent gc forgetting to remove hooks from the previous plugin version
Merge branch 'origin/master'