Profile.java: edited save(..); changed the output destination of the XMl
profile.

ProfileEditorWindow.java: implemented the save button selection behavior
such that the new private method save() is called and saves an XML
representation of the profile.