Fix some of the codec horror
Improve logger module using python's logging module
Ignore anything that isn't html when fetching url titles
Add error log