Moved constant to header file

Moved the badwords.txt constant from the filter to the header file.
also removed an obsolete line.