A3100 1.00a version + loader cleanup from casrap (patch by nafraf)
http://chdk.setepontos.com/index.php?topic=650.msg95555#msg95555