lcg: cosmetics
main: better error message