Removed unused context menu related functions
Refactored the context menu showing logic, so that the menu is shown upon mouse down on Mac, and mouse up on Windows. (Not sure about Linux)
Fix for the weird problem of context menu not being displayed on Windows
Merge branch 'feature/context_menu' into develop