fixed a number of bugs related to empty files and mlogfilter and using pipe syntax to call mlogfilter. Fixed #103.