updating styling/docs + a couple of bug fixes