update scanner code & other small stuf

a. start the work on light msg for qr
b. made the public key default if contacts too short