Fixing matplotlib warning, changing GUI to have output buttons