fixed conflict for remembering last position, revised persistent undo