changed some function names, updated filterstream.c