function BaseState.Destroy(R)for R,d in pairs(R.handles)do d:Disconnect()end end
-- Cleans up all the handles in the state
function BaseState:Destroy()
	for _, handle in pairs(self.handles) do
		handle:Disconnect()
	end
end
