gustafn
committed
on 17 Nov 06
adding preliminary support for publish_state