Replace select statements in console.c with pselect statements and commentary.