Corrected selection at beginning of table cell

Fixes #66.
Fixed cursor jumping typing right after table
Bail if right after resizable object

Also improved performance of menu item lookup.

Fixes #67.