Edit appointments working better, showing appointments on main window.