Changed: Allow repeated upgrade attempts by making upgrade.php check for tables it has already modified.