Added pop-up menu on right click.

Pop-up menu item "Clear" has been fully implemented.