Some changes recommened by pylint.
Additional info when using debug mode.