Added a save image
Tidied up save file button to put save link into control panel.
Also changed it to cope with no canvas being present