Fix various NPEs
Translate alternative colour codes