Danville man charged in incident in Urbana library