First scribble of memory clearing and reset functionality.
I just have to commit this to be able to continue working at another
workstation and I didn't want to create an extra branch for that.

Merge conflicts because of tab-to-space-conversion or line endings?
Fix your code style settings!