Make the sample project a bit nicer to look at

Additionally a short sample for dealing with huge pictures
(downsampling)
More work on the threading

Some safety stuff (So an update isn't triggered and the thread isn't
aborted while it's working)