add .gitignore; start indexing at 0; enhance "peer" event

Why is storing this useful?