public void run(){
		System.out.println("DownloadQueueProcessor Running");
		while(parent.getRunning()){ //make sure program is still running
			while(parent.queue.isEmpty()){ 
				try {
					Thread.sleep(TIME_SLEEP_IF_EMPTY); //if DL Queue is empty, pause for half a second before trying again
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
			
			if(!parent.queue.isEmpty()){
				
				String picToDL = parent.queue.deQueue();
				//if(picToDL != null)
					picDownloader.download(picToDL);
				
			}
			
			try {
				Thread.sleep(TIME_PAUSE); //Allow thread to rest some time, before checking again.
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}