- reimplemented vertex snapping
- cleanup