clean tabs and spaces

convert spaces in tabs
clean tabs and spaces for end of line