- Generalized showEntities to handle Models with KeyProperties.

- Corrected bug that would try to use grid before it was instantiated in addEntity.