Fixes bug where having no sleeps would break mysleep.

Basically, the graph can't be drawn so it'd 500. Now it doesn't try to
draw the graph.