Changed integration with ui thread with ui dispatcher for actors
Abstracted tasks
Bitmap reference counter