Loading window implementation