gui improvements, works with python 3