Added ability to save the workspace to a jpeg file