Changed preferences to remove trailing whitespace

Also changed settings to not insert spaces for tabs and tab width is now
4