Entity/generated structure overlay, take #2

Visually the same as the last one, but the underlying code has been refactored to separate the entity and structure logic. Structures are now filtered correctly by dimension.