Avoid imports which import Tk

Change-Id: Ibd4245ab2a4cfdb9df3a7ed1d1e20ac6ac6e5ac0