untabify Markov
use less memory in filtering
remove whitespace and unneeded import