small fixes, some speedup, argparser, "scoped" labels
speedup gen