Merge pull request #204 from jlipps/master

mid-session app resetting refactoring, server flag
version bump for npm publish