Formatting cleanup.
Improvements to the ansi term colours.
Added initial term mode.
Indent on newline.