Rename JankyThread to BootstrapThread. Don't kill ourselves every time the user leaves, just bootstrap again each time we start. Close the SQL cursor.
Make all but initial bootstrapping take place in the background. Fallback to peers on peer list before failing bootstrap.