Isn't argv[0] empty? Let me check that out.