Fixed tab/space and line ending inconsistencies