some add in window management
little code for forward compatibility and ATI compatibility