The isIdle function now checks if there is a patient scheduled to use the
door so
that staff never leave prematurely. Now it might be the other way around
instead...
Isnt it an idea to make a first box in the queue that is of a different
color that means current patient.
And the next one is entered until the first leaves the door