improved multi windows system, added entity show and hide method