A810 palette fix from nafraf:
http://chdk.setepontos.com/index.php?topic=650.msg96340#msg96340
A2300 1.00e port from nafraf:
http://chdk.setepontos.com/index.php?topic=650.msg96364#msg96364