Added close open figures button. closes figures that gui generates, and does not close gui.