File chooser to save image added, little changes.