Adding better logging and checks to the update script.

This is when I discovered #47.
Refactoring the update database script.
Got the import functioning again.
Download all information first, then start modifying the database.
Ignoring calling that is meaningless.