Added option to truncate leading blank KeyFrames