First try at a clean scheduling of the mc.c loop() tasks