Re-add completion toggling, buffer-undo-list removal and read-only setting