I have started work on the state stuff. Just a FYI in case others was/is planing to do the same. Jan-Henrik