added print to text file, image
cleaned up wraparound functions
switched color selection from console colours to dynamic RGB values