Added a monitor.[ch] to enable SCHED_FIFO and disable interrupts, to ensure single tasking