Fix a multitude of signed/unsigned and hidden virtual warnings in BaseIO classes.