added some more commenting, fixed a few Racket issues