Modified Window, Can now save a json file

Added checkbuttons and a save button.