Rewrite UI: move it into a class, use tk.messagebox, better handlers
This commit moves UI handling into a class and gets rid of the folder_path global variable. Everything is now encapsulated within the UI class, and the UI event handlers pass their state into the sync engine.
I took the opportunity to fix some of the spacing in the UI and switch from a custom tk window popup to tk.messagebox
.