Cleaned up variable names and removed this. calls.
Moved the selection handling and display rect for the context menu calculating to a separate method to make extending easier.