Working on undo

Does not work yet, the score undos but not the grid