Fix memory leaks in MoleculesAndLightApplicationWindow, see issue #60