Correctly checks that the name of the set is not one previously created,
and made command interface of export set easier to understand.