Add tkinter gui for atlas generation. Fixes #2133.