Fix up data coordination between lightweight prediction and lightweight sensor.

It now will queue events properly, so both graphs don't need to be
loaded before using the prediction graph.
Listen for 'clear' events so the prediction clear button works correctly