tweaked file saving and made the ability to clear canvas on open