Added train_em_seed to settings.
Added faster bounding box determination.