Fix badpixel generation bug (fix from srsa_4c):
http://chdk.setepontos.com/index.php?topic=650.msg107121#msg107121
Fix to allow font scaling of state and misc OSD displays (from waterwingz):
http://chdk.setepontos.com/index.php?topic=10869.msg107118#msg107118
Fix bug with various rectangle draw functions introduced in revision 3198.