revamped image editing interface

minor fix to last commit