Fixed logic to clear appropriate widgets. Weeeeee......