Lighting almost fully understood. Basically a tile has two shade(or darkness) values. Top and bottom. Values range from 0-15 for each. Triggers with an lighting action can effect a block of lights in between two control points(which can be any kind of object including landmines!) and have two offset values for changing the respective shade values. For flickering lights there appears to be a unknown trigger action (11) which appears to be a repeating action?? The level_entry trigger which I don't call yet starts off a bunch of these.

+Added autoclose to doors.
+Changed lights to cast no shadows.
+Object debug updated slightly.