Fix 'undefined variable filestyle_activate'
reworked pull request #13 to fit plugin coding standard
Documentation is updated
Fixed the issue with deactivating plugin for several windows (Issue #11)