fix: text deletion bug

Symbols preceded by tombstones were not deleted because of
incorrect weave iteration order.
fix: model loading commonjs'ed

Strange it worked at all...
added a range check

may hang otherwise, see 7e35aa2
merge github:gritzko/swarm/master into master