Add openScreen routine, add 10 bit support to original script