fixed align progress bar bug, changes to handling incomplete databases