Fixed most of the mixed tabs/spaces, fixes #1