Added gates - they can open and shut and be operated by levers, specified at the end of the level file.

Levers are now cleared when unloading a level.
Gates do not yet block the player