Clean-up.
Check for table uniqueness.
Process command-line.