changed structure.isActive boolean flag to StructureState enum type
Merge remote-tracking branch 'origin/master'