Added a colour tolerance function for better compatibility across other Windows 7 machines and better overall colour recognition