better checks for OS.
reorganize os precedence.
check for raw mode before any printf.
improve error messages.
horrible last resort to lookup txes.
use txindex from now on.
shutdown if no txindex.
force exit on error.
change is_raw to set_cooked.
do not print errors if we are continuing.
fTxIndex is incorrect at this point.
potentially fix txindex check.
improve get_block_by_tx.
disable -txindex.
fix getBlockByTx.