Implement proxies for trap_Argc/Argv/AddCommand/RemoveCommand and remove vmMain from g_main.c