move lite window initialization in the constructor of the main window