Fixed a few compiler warnings that were annoying