Keen death + fixes.

- CK_ObjectVisible is less horribly broken.
- Closed security doors are more secure.
- Upped maximum action functions to 256