[sleepwalker] added tls init and other stuff..