Got annoyed with isWavefront not working right and did it a different way that *works*, but now I'll go back and try to get isWavefront working right.