2 bugs so far:
1) Out of bounds is not checked, only walls.
2) Dungeon can generate new tiles over already generated ones. In this case chunk will (not) be updated. This makes generated enemies count mismatch with actual one, making it impossible to clear the floor.