clean up some css and add a bunch of code comments