Widget history logic implementation. #15.