updated to use gui prefix
moved decode part to Cmd
support for known colors
unescape string method