misc tuning, following hint by IntelliJ;
avoid println with its extra CR on Windows;
tuned signature;
tuned messages;
support for command-line options as in GNU bash;