Added a menuitem to browser's context menu. Bug fixes and improvements.