observe and reset |chromemargin| attribute of the main window
remove a unused property
rewrite handling for context menus

* make a handler to extend the main content menu and the URL bar content menu.
  for the URL bar content menu, the broken user settings by UI customization
  will be restored