Added array bounds check in table select - fixes #12
Merge pull request #13 from btmills/master

Fix crash on empty table cell select