Move display of "Building keyframe index..." to the tool

We lose the indexing progress this way, but the library shouldn't print
stuff.