add popup menu support for all IcyFrame created by a plugin; add Synchronized for frame array operationto avoid thread issue