Track the last save in history

Covers https://github.com/KSHSK/WAVED/issues/177