Add a context menu to the output window with Copy and Select all buttons.
Convert context menu methods into lambdas for succinctness.
Merge pull request #3267 from dneelyep/Issue3265

Add a context menu to the output window with Copy and Select all buttons.