Added memory performance optimizations to the data processing part of the logging code. Should be able to handle large files without issue now.