updated to update window title less often