split filterparserthread into .h and .cpp and (probably) fixes #2119