Let spritesmith+phantomjs ide die; use pngsmith. Add custom sprites stylesheet templates.