I'm just happy someone is actually thinking about these details that can result in memory troubles like this. If you want to adapt what you have here to any of the above solutions, that would be wonderful!