#16: surfacesLoaded flag removed.