1. FIXED: Determinism for debug messages.
2. FIXED: file extension query typo.