fixed all support for token parsing.
added basic support for console screen clear