black magic fixed save on window exit
updatePost refracfored, and hack to fix unselectable problem, still exist, but minor now