Feature/script opcode update

Minor updates, some of them due to Ryan Charles from fullnode.