added rpcTerminate logic
added logic for rpcRegister without skeleton use
bug/warning fixes