java.util.Stack to java.util.Deque / LinkedList

This is based on branch `wip-break-statement`.