Fix an assertReadAccessAllowed exception

The assertion text is extremely helpful, and it was a quick fix:

    Read access is allowed from event dispatch thread or inside
read-action only (see com.intellij.openapi.application.Application.runReadAction())
Merge pull request #82 from mdaniel/idea-14-runReadAction

Fix an assertReadAccessAllowed exception