Food:
Eating out costs about as much in Japan as it does in the west. McDonalds is going to run you about $5 a meal, and you WILL be full. A half-decent mea lin a restaurant can be as low as 800 yen for a set lunch, and less than 2000 yen for a dinner w/a drink. I took AntiPasta to a pretty nice dinner, and the both of us ate a lot of food and a few beers each for less than $30 each. If you WANT to spend $100 a meal, there are tons of places you can do it at.
Akihabara:
Practice your katakana. Good deals do exist, but they're not out in the open per se. To find the good deals on games, you'll need to step away from the showcase, and start looking in the stacks of games that are on their side, not face up. It's just like game shops in the states... they've got a lot more overhead than some sick fuck on Ebay. After 5 years of Akiba visits, I can honestly say the prices waves are cyclical (amongst Trader2 and Medialand). Liberty is always high, unless they misprice. Maybe you'll get lucky, but YJ is almost always cheaper.
Kyuusaku is right about Narita. It's miles from Tokyo, and is a total hassle to get to. There's a reason people don't drop their friends off at the airport. I did it once, when a friend of mine who was very sick had to have her bags carried, oxygen on the plane, etc. My sister and mother on seperate trips went back to the airport themselves.

As far as hotels though, you'll need to do some serious searching. If you're looking for them IN Japan, you're screwed. I've only stayed in hotels a handful of times, so I'm not really sure. I know the Sakura Hotel in Jinbocho (not far from Akihabara) is a favorite amongst visiting gaijin. There's another in Ikebukuro (across town from Akihabara, but only a 10 minute train ride to Shinjuku) but I forgot the name. If you're REALLY broke, there's always capsules for 4000 yen a night, and day lockers for like 600 yen a day, and face it --- there's a bit of a novelty to it.
Trains:
If you're going to leave Tokyo even once, get the JR Pass. Round trip to Osaka is about 28,000 yen -- more than the pass costs. You cannot get them in Japan, period, so make your decision before going.
Plane Ticket:
I've only paid for two plane tickets in my life, so I'm the worst person to ask about this, but I know you can buy specific tickets months in advance for cheap. My sister got a flight to Croatia from the US for like $270, but it took about 24 hours. I bet if your'e lucky, you could scrape by with a $300-$00 ticket, but summer might be hard to pull off.