Improve arg parsing somewhat and add flexibility/standardness