[Cordebug] Fix issues with interface listing. Also cache GetType queries.