Changes:

Added ability to enable debug messages if `--test`` parameter is passed
from the command-line,
Removed `linecache` usage, replaced with build-in `open()` function,
Minor messages cleanup