Device: Add window cursor support.
Set warning level to 1 to avoid a lot of meaningless warnings.
Remove Pass.cpp