Remove hard tabs. Fix small code style inconsistencies.