collapse state to a single marker
cleanup, doc
Merge pull request #3 from sclasen/collapse-markers

Collapse markers