Color added for better user experience. All the changes are in io.c. Check it out.