Use strdup() to copy argument string. Made argparser state local again.