Merge pull request #413 from wolfmanx/fix-grid-errors

minor fixes for w2grid
keyboard focus behavior; small perfomance optimizations
Merge pull request #415 from kyuri/upstream

keyboard focus behavior; small perfomance optimizations
cannot add records to grid