Fixes #45. Cell selection handled better.