Various fixes for pylint. Score is now 10.0/10