Fixed open/save dialog filetypes. Cheap fix for crash saving null image, save button does nothing if image is null.  Better fix would be proper button disabling and enabling.