Messages: new messages_debug(): pretty print variable
Messages: limit size of debug messages; onclick expandable