Clean up mixed indentation; add -tt to python args

Mixed indentation tends to screw up python code by making it ambiguous where code blocks begin and end, so this commit removes a bit of that and adds flags to the `/usr/bin/python` calls that will cause it to complain when it encounters ambiguous indentation.