The beginnings of a debugging API. This will support visual tools such as a visual debugging console -- one of various ideas mentioned on the FM-devel list.