do nothing when all high or low

have the code hang while sensors are all high or low.  Added delays
after an enter or exit so beam doesnt get a double count when only an
exit or enter is occurring.