annoying edittag bug fixed;

when editing just one image, a reference to the index was passed to
edittags, such that the api had direct, bypassed write access to the
index.
Interface enhancements for modeswitch;
minor adjustments;
more mode switch enhancements;