Added -L option for locating imported dlls. Changed generated exe init code to use __wine_get_main_args.
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.