private void complain(Exception e) {
		if (e != null)
			e.printStackTrace();
		String message =
			(e != null && e.getMessage() != null && !e.getMessage().equals("null"))
			? e.getMessage()
			: "unable to save; you probably entered an invalid file name.";
		JOptionPane.showMessageDialog(
				dialog,
				"Error: "+ message,
				"Error saving",
				JOptionPane.ERROR_MESSAGE
		);
	}