add fallback to tkinter if pywin32 is missing

clean up whitespace