Fixed some Vaadin API changes (Notification.show() and LegacyWindow
constructors).