API cleanup: gterm.Lterm_cookie -> gterm.Cookie
Fixes for color handling