faster stats, textual fit file, fixes