claified comments used for documentation
added an xterm auto color mode for terminal output this way if outputting to a terminal, no need to know the colour scheme. default light/dark theme still available for non-terminal usage.
done i guess
made text encoder, html still to do