bug fixed: wrong arrow key handling introduced with the -m parameter; several comments added to the code

10 files changed