redstone newbie here, my old design closes too early so i created this ugly contraption. I have a feeling that improvements are possible, but not sure how. please advise