Improved find-by-values, added some new session debug stuff