Initial implementation of update/render threads