training mode, replay rate, some bugs