Move more UI code into ui/
partial rollback of r13544, allow old recursive behavior for some locations, but not EMF import
Improved support for clipping on EMF/WMF import, see bug 1302857
Fix for bug 1306138
Remove unused includes to tidy up the code.
libUEMF update; EMF linear gradient bug fixes (bug #1263242)