Plugin destroy implemented (fixes #11)