Cleaned up the mutation list implementation to be more efficient and clear.
Further revised the mutation lists compaction implementation to be cleaner and faster.