Merge pull request #41 from dckesler/master

minor fixes
Merge pull request #42 from dckesler/master

Env variables
Merge pull request #43 from dckesler/master

CORS stuff
Merge pull request #44 from dckesler/master

Cors
GA
Merge pull request #45 from SocketBot/master

GA
Merge pull request #46 from dckesler/master

state fix