Removed 'smarttabs' and stopped warning about mixed spaces and tabs.

Closes #1473
Closes #1530