added debug grid to level.as