Fix for a problem that Mike discovered. The RPC input buffer is
limited to 31 characters, so we can't give commands with more than 8 outlets. So, we split up the outlets into groups of 8, and issue multiple commands, if we are passed too many outlets. Took some minor re-structuring, since we now may need to sync up with the RPC prompt more than once.