Debug, hex, prototypes   :   Fixed a problem with Debug that was causing problems on Windows, various changes to hex and experimentation with using ModComponent, addition of Prototypes file for jsextensions.