I use a Harmony remote. They are now releasing a $50 model (Harmony 300) that sounds perfect if I was in the market for a replacement. All of the macros are programable with a usb cable and computer. The software does most of the work and allows you to tweek all settings.

Engadget did a write-up on it last week:
www.engadget.com/2010/03/31/logitech-harmony-300-eschews-lcd-screen-for-universal-affordabil/