DHT11, LCD DISPLAY and Arduino Mega reset

Using this code the arduino doesn't reset

Help me out here. Does the LCD display what it should display?

Don