Lots of experimentation trying to fix focus issue.

I added a keyboard handler but it wasn't working. Turned out I needed to
click the tab for the JTabbedPane, then click onto the grid, then the
keyboard entry would work OK. Eventually after much experimentation I
tried the same JAR under Windows and it worked fine. 

So it turned out to be an XMonad issue. I upgraded XMonad and my
xmonad.hs and fixed its focus issue, so now I am going to try to back
out most of the experimentation and just keep what I need.
Remove unnecessary experimentation.