tolerate missing 'console' and objects that can't be turned into strings
added readme with some example code