Don't try to draw graphs we don't have data for.

This was specifically a problem with network. We were throwing JS
errors.
Merge pull request #214 from vmarmol/ui

Don't try to draw graphs we don't have data for.