Made the showMovie method work. Now it correctly paints and sleeps for the right amount of time before painting the next frame.