Add ability for --loop to join LM pieces automagically, and processing
them before the normal loop.