Changed Well, Curve, and Version to print to the file that is passed to them. It's extension is las. Added selectedHeader variable to header class so that we know which header to use.
Resolved merge conflict.