Added minimenu to autocomplete, changes to databases works and ome other changes to php