Generate the import table directly in PE format. Added gui/cuiexe_no_main modes in EXE spec files, and use this for the main wine binary.