added basic Text_preview
Window: registered Text_preview handler
added Cmd class
Window: implemented a very primitive command line