Boom generic doors can now cotrol the lighting level.

Also made the lighing level function much quicker by removing the linear search.