Implementation of the state machine
The drEYEve.py display the state of the machine
Mode Control implemented with therehold befined as number of frames
DELETED: navigator.py not used anymore

MODIFIED: drEYEve.py Mode control implemented with time threshold to be independent of the frame rate.
The threshold are defined in the beginning of the file.