ADDED: check for gnuplot
FIXED: filtering did not take into account the -z filters. ADDED: better debugging output in get_match()
FIXED: print_msg, version