Removed redundancy in some routines. [GUI]handle property now automatically returns 0 if the window does not exist.