Fixed Bug in Heatcontroller; Heatcontroller optimizedand Limited heat; Fixed possible bug in NPCHealth;