Cleaned up various compiler warnings generated by Wall, Wextra, Wshadow, Wlogical-op, Wcast-qual, and Wdisabled-optimization
Ensuring that proto gets null terminated.
Merge pull request #92 from jacob-baines/master

GCC Cleanup