added ability to save as PNG and JPEG
Tidy up
Merge pull request #85 from ADyson/SaveFormats

Added save formats