Changed the close button to call vlc.deactivate(), which in turn calls the extension's deactivate method.

Fixes issue #73
Merge branch 'fix-deactivate-being-called-more-than-once'