while (!monitor.isCanceled() && maxmsgs > 0) {
TList.DCons node = msgs._Cons();
if (node == null) break;
msgs = node.mem2.<TList>forced();
TMessage msg = Delayed.<TMessage>forced( node.mem1 );
if (mcwb != null) {
// do also warnings and hints
int sev = IMarker.SEVERITY_ERROR;
if (TMessage.level(msg) == TSeverity.HINT) sev = IMarker.SEVERITY_INFO;
else if (TMessage.level(msg) == TSeverity.WARNING)