added print header option, by default no printing of header to be consistent with samtools.
fixed a benign bug.
removed -- option and changed help option from -h to -?
added print_ref_op()