Reorganized imports.
Added ability to select action when clicking on the current image.
Nitpicks.