Moved OVERWRITE_STRING maro to main.h.

We could use this in other files too.
Save last closed page into file (#9).

Added command to reopen the last closed page 'open-closed' and
'tabopen-closed'.