Bug Fixes

Fixes the issue with having an empty line at the bottom of filters.txt

Fixes the issue of writing an empty timestamp if the server doesn't
respond