disabled pen tool menu items when right-clicking on desktop
fixed bug where XML export option would be disabled.