Jeremy Feng : add log window.