use namedtuple._replace instead of building new tuple
use None instead of empty string
delete status instead of pop
use lambda instead of def for checkfilter
use try instead of if in linkrewriter
use try instead of if in statusfilter
only operate on tweet api