Add selecting active layer in the plug-in window and harmonizing file with window info.