Dead code cleanup
Fixed line endings