minor GSP adjustments
Merge branch 'refactor' of github.com:smealum/ctrulib into refactor