fixed new DOM items not animating

and a few small cosmetic changes.