Until you get all the coins, the doors are a fate worse than death. With death you can try the level over, but if you hit a door, you have to restart from the beginning. Either make it so you need all the coins to pass through, make it so you can replay levels, or at least make it so you have to press a button to go through.