Improved the demo of ModuleWindow