Fix bug where updating totals was broken.
Add escape cancelation to inline edit.