GBK bug fixed, front light turned off, MIUI2 wifi bug fixed
Change qr to barcode, fix some coding style problems