Improve kodets.rake, check for errors, colorize mode statements