Did some major code cleanup on my changes to the reply filter and fixed some bugs along the way.
Left in some dirty prints.
Merge pull request #137 from KittyTristy/working

Patched my patch!