made beekeep gui compatible with python2.7