Add state module name to terse output, fix #3394