Trailing whitespace fixes and indentation and tab solutions