the non-flat quad detecting routine apparently didn't do anything anymore! I've fixed it now with more comments, so people are warned not to mesh with this... er... mess!