added RemoveWindow - function to windowmanager