Added error filtering logic
Fixing up logic for filtering
Stripping out empty lines
Release 0.2.4