Hi Andreas, thanks for the bug report. This is clearly a problem that needs to be fixed.
I propose to move all of dxf2gcode's modules (core, gui, globals, etc) into a new top-level module called dxf2gcode. Does that seem right to you? (I'm not an expert python person...) I've contacted upstream and they are receptive to this proposal. -- Sebastian Kuzminsky