improve top-level arg parser logic. Now it does not validate the full launch xml though.