Changed filename to be optional when saving image and use current loaded image filename

Signed-off-by: Derek Myers <arcticpro@gmail.com>
Merge pull request #1385 from dmyers/feature/image-save

Changed filename to be optional when saving image