Fix for awaiting results

Fixed awaitingResults so that it is true for as long as directory contents are being loaded. This enables spinner to be shown until all files have been read. Old behaviour can be implemented using "count == 0 && awaitingResults".