fixing lookup to external exports for the color db, just in case.
fixing issues with main modules.