sometimes I can only record to one loop
and it turns out it's because SL thinks there's only one loop, so it ignores commands to a loop that doesn't exist
the hacky solution is to add a track via the loop-baby by being in mode==None, and then pressing the next track button (according to loop-baby). this will call add_loop() to SL, which will then add the 2nd loop. so then you can record to that 2nd track now.
in general, i think i don't have a way of getting state from SL.