Automatically clean whitespace in python files and GC optimisation tweak.