As economy softens, Microsoft ramps up research