- new parameter 'smarty' (optional smarty parsing for CSS, thanks to Anton Troshin)
- compatibility fix
- some code and performance optimizations