Fixed various indexing bugs (w/ status parsing); Added Thrift bindings.