start of user-space daemon; broken because threads that shouldnt be joinable apparently are...