Rewrote embed_images proc

* Now uses findAllSubs iterator
* Manages relative paths properly