Patch Tk (small fixes: exports, OSX popups, deprecations)