Added "Close" option and a possible null-Pointer-Exception if the Filename to save/write to was empty!