More work on bitcoin script system.