As far as tech goes, with the ai playing my first hour, and the terrible land I have, I have been playing catch up this entire game. I am getting close to engineering myself, but not to guilds.
As for the war, I just jumped in to give you a hand. I do not have a strong enough of a force to take him out. My suggestion, give him his city, and take some time to build a real army.