Added red coloring to error messages in early CLI startup
Cleaned code