preview window and dialog window now inherit from a generic window class
Added message when the day changed
removed last external resource