MonitorSemaphore .h/c files are added.

There were some little extensions in OscilloscopeDSP for the state
machine. Some comments were added.