Remove reference to old functions
Create an array of VTS IFOs and use that to prevent running ifoOpen so many times; add some optional debugging output; remove setting vts twice