[WIP] fix urf-device-kernel crash

Also made some minor debugging updates...