Removing unused imports and validating PEP8.
Fixing W3C (label for, &amp;).