Some bugs fixed + contact request.

Hi  John,

I sent an email to jwodder@sdf.lonestar.org which I thought was you.
Can you send an email to me please? foad.nh@gmail.com

Also in here I fixed some compiling bugs with gcc-4.8.2 and added .gitignore

I will be glad if you contact me.

Thank you,
Foad