Altered graphics.d to have better version statements.