Minecraft Optifine Crashes Game?

So I just installed Optifine to minecraft because the laptop in playing on can't play it smoothly. It actually works really great - doubles if not triples my FPS. But, I want to play LAN with my friend, but it won't let me. When I hit escape (esc), it exits out of the game. I've tried playing Minecraft without optifine, and it doesn't crash. Could someone help me? I running on version 1.7.2

It is probably related to the fact that Optifine isn't 100% done yet for 1.7.2. Try reinstalling it, otherwise /publish does the same as 'Open to LAN'