And RE attorneys usually make <2k/deal, with a lot of that being add-ons from things like owning their own title company. You paid market rate, as best as I can tell.
And all paperwork and contracts are ultimately done by the lawyer. I have honest to goodness no idea why you involved a realtor at all if you were selling it by yourself. Their only job is to attract prospective buyers (read as: list your house on the MLS).