fixed some more compiler warnings.  still need to fix function prototypes missing voids