Added permission checking when printing the problem source during an error.
Merge pull request #262 from goehle/dispbug

Permission bug.