Code factoring in mloop.
Code factoring in mloop.

The generation of the fd_set needed by select is now done in a more
natural place during initialization. This keeps the main loop code tiny
and efficient.

mpu/xbar