yeah, let me tell you how to tell what your idle problem is. If it only does it while cold, its the cold air idle valve, which is nearest the butterfly and below it. If when the thermostat opens up, it smooths out perfectly and stops idle loping, that is your cold idle valve. If it does it all the time, namely if it just bogs, it is probably the intake air idle control valve as you states, disconnect the two coolant lines and take the two 12mm bolts out holding it on. If the screen is filled with soot, clean it off (don't use chemical, just very lightly use a screwdriver or something to unclog it, some people will tell you to use brake clean but I really wouldn't). If the screen isn't clogged, it could still be simply mechanical failure.
Funny enough my engine swap took a twist on me today and the damn thing acted like it was rough as hell when I started it, and having changed the distributor for compatibility reasons I thought it must be the timing, and for the fucking life of me even by trial and error I couldn't smooth it out. This is a D16y7 btw so a little different than your case. Anyway for the first time ever I used a timing light and it was a lot simpler than I ever imagined. Anyway, the random spot I picked where it seemed to run "best" was dead on, but it still runs like shit. Well I remembered that I swapped EVERYTHING off the old engine onto the new block and head- except one thing- I used the JDM injectors on the USDM intake (just because I thught they'd have less mileage). Well lo and befucking hold they have a 4 digit part number stamped on them and the JDM injectors were different! So tomorrow I will swap the right injectors back, but dude if the injectors/intake you are using are still from the b7 head and you're using the y8 ECU, or vice versa, that could easily be the problem. Make sure the ECU matches the intake. Most likely though your timing is just off, make sure you get the crank tool as well as the timing cover and you should be set to get the ignition perfect on it.