Exporter refactored. 

Now, instead of upcasting editor objects, it just omits editor components.

ExporterTest has also been adapted and now it compiles and works.