include <textarea> for debug messages
improved browser runtime detection
console.log into <textarea> for tracking console.log messages