removing a few compile warnings

Small pull request with fixes for a few minor warnings.  Eventually we'll get them all.