02-08-2011 12:00 PM
Ah, the strange thing is that it was a bug. When I added (new!=0) and removed the (old=new) expression the algorithm was ok. Other it had the same bug. But now I wait 2 sec. for 5 frames before leaving read. Other the frame update is to late.