The enemies appear to be able to see through wall, and I'm not sure how their mechanics work. Also several levels in I hit a level where the exit didn't work despite my having gotten all the lighter tiles.