Improve PlugIn tool icon management to avoid occasional crash.
Initialize szchar arrays before use.
Merge branch 'master' into refactoring