Tweaks to C generation to allow globals as args to main action.
Merge branch 'master' of https://github.com/pieman72/adhoc