[WIP] style pass on tkgui, part 1
Style, whitespace, minor cleanup