Improve the core functions: Tin / unTin

keep the window open after tin