Undo changes in Stage.java and Parser.java.

Buggy commit:
    2620a77e6433f322efeb80c8faf2d2a1fd68627d
    "Introduce and apply new debugging interface."

This commit reverted Stage.java and Parser.java to an old
version. The current commit updates the reversion again.
Apply new debugging interface to Parser.java.