Fixed a lot of awkward behaviors.
Replace tabs with spaces.