Adjusted logs and process exit for backtest