Clean up usage of global non-constant vars, error rendering etc.
Clean up usage of global non-constant vars, error rendering etc.

samternent/skit,clusterinc/skit,eerwitt/skit,samternent/skit,clusterinc/skit,eerwitt/skit