reduced object state for objects in containers
made object state polymorphic
added support for serialisation of CustomData state
store additional state of lights in saved game files