Heretic, Hexen and OS X fixes