[#9] More recording of outbound messages; Fixed bug with undefined function error response.