Base, hex   :   Fixed some problems with hex_b996.js and hex_proto.js, further improvements to new Base script.