Use CallableWrapper to simplify calling of event handlers.

Signed-off-by: Janne Hakonen <janne.hakonen@tieto.com>
Abstract painting of objects using CallableWrapper.

Drawing of the background is now a class as well.

Signed-off-by: Janne Hakonen <janne.hakonen@tieto.com>