added a broken timer to draw a last high quality frame once the animation stops. not working as intended so far :(