some code cleanup.
small refinement -- make the object construction a bit quicker when @argv is empty.
clean up useless code.