- fixed: The code for updating vertex dirty state had been completely missing. I have no idea when it disappeared...
- fixed several incorrect uses of abs instead of fabs.