Define mode history variable.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
image: Remove entry.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>