subclassed frame class