Finished download queue

Added incomplete directory scanner, small code cleanup