code cleaning and bugfix (conditional EIstim enable)
Authored by: leinmarc 2014-10-09
Parent: [r104]
Child: [r106]