Added resizing for queue window, refactored fetching