Added OrderedDict for Python 2.6
Provide a backend hook to display debug info