Mac: Implemented generic control wrappers and helpers, and most controls. Not tested yet. First commit in a long time because I did a lot of overtime at work.