Added garbage collection and minor css changes