Fixed not working * and # commands.

If a search phrase was marked and * or # was used, the right matches where
highlighted but 'n' or 'N' did not jump to the next match.
Don't write register or history during setup.