new text identation
new refresh event trigger
better support for re-register for window button