there is a bug in python3 with integer vs float division, for python3 we need to use // to enforce integer division
tkinter has been renamed _tkinter in python3
from string import lower is not used anywhere in DirectLights and is deprecated in python3
fixed deprecated use of string module