Added maxOffsetBehind param.
Added .gitignore.
Adjusted partiton -> worker mapping.