created amiWindows function in rwkos