less conservative gc;fixed some major bugs;reduced redundancy