Modify context menu depending on selected tab.
Fix indent
Merge pull request #1577 from jburel/right-click-context

Right click context