TUI-42: Add event emitters for Window's action change.
TUI-41: Add event emitters for Window content change.