SVN commit 475513 by staikos: A large number of performance fixes for updating and painting images. Feedback appreciated - and timings too. If someone sends me a good testcase I can also test timing. M +110 -83 kstimage.cpp