Serialization, box areas and bug fixes