[#11] Removed window global state