I always save out my file during (and at the end) of every session, and clear the editor and reload in from that save file when I start a coding afresh.
Changing the version number, as the last thing you do, is always a good idea... as you can spot if your changes have been lost.
(This isn't the issue that Pixelman was talking about, btw)