Remove dead code; fix auto-complete click handler
WIP — give image component a name to work with