typo; fixes output index for unknown script types in debug log
flush utxo cache more often
prevent invalid block work values from returning a valid result