Further OS X 10.9 Mavericks support

First off - great project, thanks for all the hard work. I spent a while this weekend trying to improve the Maverick's support for nativity. With this patch I think the only remaining TODO is figuring out how to get the list view to repaint itself.