Added warning and critical features for varcomp and lastrun-varcomp modes