add debugging output to contextmenu-hover.js
fix stability in behavior of contextmenu-hover.js