reformat whole code to use 4 spaces indent.. bad for source control, but necessary right now..