Changed behavior of close orders such that all but null orders get
processed.
Added final specifier.