Fixes #83 and Fixes #48. Guard against empty trees in preview window. Make much more reasonable decisions about what is sitting underneath the cursor during test ANTLR rule action. Enhance the menu item to include the role name to make it more clear what's going on.