Cleaned code, use printstatus() instead of print(colorerr())