improved logic on brush/pen requests