Make a few methods in cnEntry_Action public.
Delete entry images when the entry is deleted.
Add xrmdir() to recursively delete directories, empty or not.
Check if $path exists before deleting images.
Delete entry image subfolder from CN_IMAGE_DIR_NAME.