Extra 1-byte memory for null char is no longer needed.
Refactored signal handlings.
Made to change to noecho mode when sl is running and to change to echo mode when sl finished.
Changed to use getopt to process program arguments.