contenteditable elements also make switching to insert mode
wide a visual mode border
adjust a hint tip's position
show current mode
bug fix detecting mode