Yes, this is a bit messy. It is always empty and meaningless for the parent frame, so I decided to remove it if iframes=0.
When iframes=1 it is included for parent frame only for consistency. I'm open for other suggestions.