enhanced image pasting functionality
- added uniqueness to image names
- improved clipboard pasting logic