#205611: (By Wim Leers): Code style cleanup for panels styles, plus API standardization (note: This means some minor API changes).