fix listing/0 to avoid going into every system predicate.
respect source mode indications.
fix modularized grammar.yap.