io module update; several minor fixes