Add history control commands.

Also set all variables to export.
Add some more aliases.