Fixed crash bug on Mac related to the use of CScript()

I forgot that I prettified the code to fix the indenting so unfortunately it masks the individual changes.  So basically anywhere the CSCript addrHex = CScript() << blah lay blah was used and is commented out now , is where it uses the new much more efficient and safer way.