fixed order of imported files
fixed problems when import images into empty process or remove all
images from process