Fix #20: add trails
Fix options undefined error
Fix options undefined error
fix insertAfter weirdness
Add periodic, neighborhood options; fix #22, fix #23, fix #24
Update version to 1.4.0-beta
merge upstream changes