rtgde: make rtgde_stop() wait for decision_count >= 1 in the one_time mode
rtgde: avoid crashes when predictions have a history_size > 1 and history_stop == 0
final changes