project almost compiles; fixups for serialization