Surging at idle is often a dirty throttle body; I was plagued by that. Over time the computer would learn and adapt but the surging/hunting idle was still there. After cleaning the TB it was rock steady.
http://986forum.com/forums/diy-project-guides/55410-throttle-body-cleaning-2000-boxster-s.html