Code refactor. Moving ImgAnnoView to imganno.js
Fix UI issues with editor.