OK, update... compression tested fine. Like I mentioned, it runs fine a lot of the time too.
It started acting up today, and I just happened to be moving the backhoe hydraulics and it seems to help.
So after some playing around, as it starts to stall and splutter randomly while just driving...