Modified menuet debug to LOG for Netsurf context