Updated for Minecraft 1.5.1 and forge 7.7.1.629

I tried pretty much everything I could try, and it seems to work nicely.