adding Tk windowing
bugfix for map dev