[vdp] check for mode error last so the red doesn't cover up everything
[sggoc] update sggoc_tb to use new io module