Update bat_loop.dart

Raw delete-paste new. Much changes in first half.