The blocks despawn time is not a bug, sadly. It is the way I coded it to make sure the sound played, I have an idea for a workaround fix, I will try to implement it before the deadline.
I should be able to create a simple end screen too.
Thank you for your feedback.