Text Windows and Creatureevents bugs fix