fixed stale window bug in spline parameter UI

If you opened a scene, used the spline parameter window, closed it, reopened it and tried to use it again, it would complain that the window already existed. Fixed this by deleting it if it exists