The conclusion I have come to is that our reality is made of energy and matter. If everything is energy and matter then thought and memory would have to be a form of energy. Now, I like to think that in death these energies just change form (energy cannot be created or destroyed) and one simply enters a different state of mind so to speak.
The voltage differences across the membranes of our nerves will go away as oxygen is deprived in the brain. This energy will be released as heat into the surrounding environment. The packets of neurotransmitters sitting at our synapses will break down and become food for bacteria and fungus, assuming you are not eaten by a larger scavenger. They will use this energy to fuel their own metabolism. If you are well preserved then these chemicals will slowly breakdown releasing heat back into the surrounding environment.
Overall, I would say that the sum of changed energy will be heat. Some of that will be harnessed by bacteria and fungus unless we are cremated or pumped full of formaldehyde.
P.S. The whole idea that there is "nothing" after death seems very logical to me as well but is a bit disheartening.
The truth often is.