Fix UID parser, omit blank UIDs, some PEP8 fixes
Fix UID parser, omit blank UIDs, some PEP8 fixes

laborautonomo/Mailpile,laborautonomo/Mailpile,jparyani/Mailpile,jparyani/Mailpile,laborautonomo/Mailpile,jparyani/Mailpile