ATMega heats up and certain pins causing problems.

So I'm currently working on a project that requires 5 servos to be connected to the arduino. I set everything up and I plugged in a separate power supply (2 9v batteries) to the breadboard. I didn't have any wires on the bread board that led back to the arduino except for the wires for the potentiometers and the yellow servo wire. I don't know what I did but since I have my arduino connected to my computer to upload code, once I plugged in the 9v batteries to the breadboard my computer just shut off. Now the ATMega heats up in use. Also, out of the pins that I've used, Analog pin 0 and 1 and Digital 0 and 1 could be having problems. I'm not sure which ones though. Analog is for the potentiometers and Digital is for the servos. When I turn the pot the servo connected to D0 the servo moves ~90 degrees, stops, waits about 3 seconds, and then turns the rest of the way. Sometimes while turning the pot for D0, the arduino L light would just flicker before turning off and the arduino is off for a few seconds before turning back on. D1 moves the servo barely moves. It doesn't even rotate the whole 180 degrees. I know the servos or pots are the cause because I tested it on another arduino and everything worked fine. Could I have broken my arduino entirely, or do I only need to replace the ATMega?

Here is a image of what it kinda looks like. (Only shows the two servos connected to the pins with problems):

You created a path where the 18V could feed thru the pots, into to the analog pins, blowing out the input protection clamp diodes, and feeding 18V to 5V. Guess from there it could have made it thru to the USB 5V, and made your USB port shut down.
You should have only used 5V to feed the pots, not 18V.
The servos like 18V? Most I've seen only want 6V.

If the Atmega is hot, it's shot, or on the way out. Get another one.
Can get prebootloaded parts if you don't have bootloading ability.
http://www.dipmicro.com/store/index.php?act=viewCat&catId=595
Good deal as blank parts are $3.70! Inexpensive shipping too usually.

CrossRoads:
You created a path where the 18V could feed thru the pots, into to the analog pins, blowing out the input protection clamp diodes, and feeding 18V to 5V. Guess from there it could have made it thru to the USB 5V, and made your USB port shut down.
You should have only used 5V to feed the pots, not 18V.
The servos like 18V? Most I've seen only want 6V.

If the Atmega is hot, it's shot, or on the way out. Get another one.
Can get prebootloaded parts if you don't have bootloading ability.
Arduino - dipmicro electronics
Good deal as blank parts are $3.70! Inexpensive shipping too usually.
Electronic Components and Parts Search | DigiKey Electronics

Okay, Thank you for the answer!