Fixed the sleepq stuff. Uses PCB-address as resource.