[FIX] XQuery, File Module: always return 0 for directories
[FIX] GUI, Editor: code completions