Updates ModuleWindow. Fixes #41