Fixing issues in actor coding.
Merge pull request #48 from johnb30/fix

Fixing issues in actor coding.