Add patch from antarus: Run pychecker over everything, fix obvious things like modules not in use, variables not being used, or global exceptions not being deleted. Also fix imports for style (1 per line)