Plotting fix, added some sleep time

Some control room usage exposed some problems...
Each reference was being plotted in its own figure, rather than all on
one. Also some sleep statements kept the numOfPoints query from hanging
like crazy. Hopefully things work more reliably now...