Use query param instead of hash for refreshing.
Remove debug logging.
Fix bug in op-undo.