corrected a bug where directories could be interpreted as part of a filesequence
better indentation
handle negative frames
comment update