cleaned out visiongui code