Work and Energy in the Presence of Friction: The Need for a Mesoscopic Analysis