Fixed bug with EventAssignment - if parameter is changed via event than it is not reset.
Fixed the RunTime exception handling