Fix compiler warnings on Mono

Mono uses a different compiler and generates slightly different warning messages, so I cleaned them up.

Gitignore also seems to have some binary garbage in it so I trimmed that.