make 3.6 compatible
gui refinements