Fixed iterator.

I forgot to return...
Updated gitignore.
Removed buildlog.