Added newline tracking to filters and added rudimentary 'stet' filter