working timer and qtimer. libpng error