Connection pool tuned. Debug output expanded. AISAB-202.
Added db indeces to speed up common queries (AISAB-181, AISAB-202)