moving utxo work into main branch
clean up extra copy pasted code
general blockchain writing cleanup
abort threads more quickly on shutdown, when needed