Fixed KeyErors due to missing tags for MPD, and

fixed all pep8 errors