fixes and auto decry

fixes in svc,DSP,mem,thread
added auto decrypt