Move code to remove dependency on py_sg when not needed
Merge branch 'master' into rider35

Conflicts:
	code/brytongps.py
Add export to JSON
Print messages to stderr
Don't exit after printing summaries
Merge branch 'master' into rider35