minor pep8 fixes
fixes #50 and allows non-directed s/// commands to be ignored via a config option