Get DWM traces working.

Sort-of -- shared resources still don't work correctly.