* [SC] Various cleanups for prolog:message//1.