Database handling improvements:
    - do not generate the database during installation (otherwise it breaks Stampede deployment);
    - improving perfexpert_database_update() reliability;
    - other related minor issues.