add imaging functions.  pull in cleanups from elysium