fixed some file io; still need to correct buffer arithmetic
pop function for the buffer
+ FSPLIT_DEBUG macro
looks like buffer arithmetic fixed; need hard testing though