todo: planning for undo/redo changes for next dev cycle
change-log: add a debug mode

This will log extra comments into the changelog for diagnosis.
change-log: also add debug_mode to undo/redo
main-page-machines: fix initial machine position for undo/redo