fix processConnection funciton
Merge branch 'master' into Morgan
Fix errors due to merge
Merge pull request #15 from rmtmckenzie/Morgan

Merge fixes.