Fixed compile errors (I accidentally renamed ObjectPool at some point).
Added .gitignore.