move the computation of the image colours to a separate thread. it's the first time, that i write code, that uses a second thread.
View Diff