Fixed a couple of minor bugs.

Used the wrong MatchDetail. Used the wrong argument to Printf.
Added graceful shutdown.

When you kill crawlol it should complete what it's doing (the current
loop) before exiting. This allows it to save everything properly so it
can pick up next time at the same place.