extract main() from uron.c