ECG Simulator: static improvements, dynamic implementation