Bug fixes for EntityGrid, and refactor it so that there no longer is a dependency on Physics