Adding docblocks.
It works!
Update filter to remove duplicates and correctly strip extra characters.
Reformatting and documenting

Adding more docblocks and comments to remind myself why I did things this way.
Release 1.1.0

More docblocks updated. Enough changes to warrant a minor version bump.