Closes #120 the unsafeWindow hack no longer works