Os awareness

I think I got this where I want it now.