implement state seeds
some small tweaks
Merge pull request #809 from steverichey/dev

Implement state seeds, closes #798