Fixes for tkinker on py2-3