Added stats calculation, fixed floorkeytester