Mnit fps

Factorize the frame-rate control of mnit applications in a dedicated module in lib.