thread safe updates, small fixes, need to get a demo ball bouncing