minor fix

* update comments
* move a block of utility functions
rely on native cropping of label
show tooltip of bookmark keyword menuitem
remove useless existing check

* |getEntryAtIndex| never returns a falsy value
append multiple DOM elements at once for performance