sorting some queries, new pingdate, work on admin log book