Fix undo skipping some prvious outputs #19

output stack: Remove the redundant dirty-mechanism.
It was a failed attempt to fix the wrong Pop() behaviour:
copy top - discard top.
Instead do: discard top - copy new top.
output: Linux coding style #20