Cleans whitespace.
Improves the tracing for statecharts by using console styling and indicating when states are entered by route or not.