cleaned a few things up and began work on handling import of 16-bit greyscale png