make datasignal/dataslot work
fixed restoring state after _CLOSE_
mrg