Better bit packed string detection

Added prefix and suffix to bit packed strings to make wrong matches less
likely
Renaming and moved thread creation

Replay now extends from Thread