stack-monitor: minor changes