Major update - Smarty upgrade, new features, bug fixes - to be detalied in the wiki