Bug fix when removing all samples after plotting

Ben,

I fixed the bug you had when removing all samples after you had created a plot. I can tell you what I did (or you can figure it out by looking a the diff). Also, moved the message display to its own reactive block to prevent recomputing the data on clicks... Not sure it helps but makes the code cleaner