reverted to stable ProtoBuf library to fix syntax error, minor fixes