Save the state after particular calls of set_data().
Add "log panel".
Add a function log() for adding a message to the log panel.
Add messages shown when memory is cleared.
Add preset feature.