Various PEP-8 non-functional tweaks.

 * Also a little IDE-loving.
Various PEP-8 tidies etc

 * Removed some redundant imports too
 * A little IDE tweaking
Allow running kit from other directories.