All back together again and about 75mi on it since the install. Had few issues like a bad alignment on the valve oil return spraying oil and a lousy idle until I plugged in the connector back into the throttle body.

It's still hesitating badly so I don't think it's ECU learning issue at this point.
Anyway CEL was on so I cleared the codes (from my previous issues) and drive for a while. Now the codes are:
P0507 - Idle control system RPM high
P0508 - Idle control system circuit system low
I read that the 507 could be dirty MAF (I'll clean it again) or dirty throttle body. What else should I check. Ideas on the 508?
Thanks,
Todd