Support for adding titles to OSX windows.

Signed-off-by: Jon Seymour <jon@ninjablocks.com>