Cleaned up the code for responding to LIST requests, and added a cache for the results. Another 100x speed increase for large loads