He helped turn a small Istanbul web business into IdeaSoft, then took Shopio into international markets. The customers arrived. The arithmetic proved harder.