Extract common code out into kdm_for_screen()