Tab->Space, Line endings, and deprecation warning

Tab->Space, Line endings, and deprecation warning fixes.