Fix memory leaks in key list, cache zone object between output and fix --debug output to display correct values.