Proofed admin endpoint some more, no more dangling connections
Added the recalculation script for a couple of statistics
Covered general patches with tests