'Step to another frame. If no argument is
given, step to the next frame.'

def step(self, framenbr=None):

    if (framenbr is None):
        self.current_frame = ((self.current_frame + 1) % len(self.imnames))
    else:
        self.current_frame = (framenbr % len(self.imnames))
