pullrequests: updates to "closed" status, global: PEP8 fixes