Unused imports, duplicated import lines, and bare excepts that swallowed KeyboardInterrupt along with everything else.