Fixed binary loader and made index vertex serialization more efficient.