Replaced debugmsg macros with variadic version; Debugging for StringBuilder