Fixed BOM error/ NPE Fixes

I fixed a few null pointer exceptions that can happen parsing certain
podcasts.  Furthermore I fixed an issue where the DOM can barf due to
BOM character.