Added timed doors class.
Better direction handling.
Multiple keypads per cell supported.
Fixed a little type error.