added pid to share links, removed unused vars
Merge branch 'master' of https://github.com/designcreateplay/NodeBB