make selected_frame for redisplay. compiled. no dynamic check.