rewrite element creator function

* remove handling to receive an element node that is never passed
make menuitems when contextmenu opens
Revert "make menuitems when contextmenu opens"

This reverts commit 6b8a8912f92f34dae52cf0934c87bc03aef812c8.
make menuitems when contextmenu opens
create parsed URLs handler when needed
improve handling of unmatched item in preset

* An empty URL can appear in a parsed URL list by the preset matching. A list
  by scanning never has it.