debug from configfile
framesleep --> frameduration