(1) LEVEL from command line, (2) don't crash on empty stdin
starter batch file