add images, rename to active
add option to not embed editor in iframe, workaround for #58
change lineNode detection to support non-iframes