Fix predicates always refuse nil value
Add new debugging logging macro, mark TODO for class-pass