Make doubly sure interfaces are freed.
Option to enable XML Listener and xml output
Renamed method to not conflict with fpGUI's HasParent() method,

which is something different.