Fixed grid toggleing bug

Grid was being called/deleted by the decimal number.  With recent changes that it must be called by an integer, I had to change the key lookup by integer.