Improve PlugIn tool icon management to avoid occasional crash.
Initialize szchar arrays before use.