fixed some bug in program editor and runtime errors notification