Fix whitespace
Refactor source outdentation method to be simpler