Changed 1-gram index order. Changed flush progress output .