Eliminated some warnings, added -Werror
Eliminating compiler warnings.