reverted gui and added plotting.  plotting still under dev