Check for unsaved changes before search query and don't enable undo if
it was previously disabled.
Add command to unconditionally open fresh VLF buffer to visit occur
match.
Stylistic refinements.