Initial blockchain download fixes and improvements.