Fixed copy/pasteimage subs to actually work properly.  Added subs to example.