fixing a few details for py3 on x11