Singleton: https://github.com/KSHSK/WAVED/blob/undo/Source/modules/HistoryMonitor.js
So calling `getInstance` (or the constructor, though that way is improper) always returns the same object.

At the very least you should change this window object to be the WorkspaceViewModel so that everything doesn't have access to the WAVEDViewModel. Should be quick enough to change.