Cast return of strlen to avoid picky build warning on 64 bit.
Refs #56. Might help to use performBlockAndWait