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

Right click context (rebased onto develop)