Reworked using select(), improved the graphing of logs produced.