going to refactor the code a bit per jims hw structure
seems like im no longer getting a hardware instruction error. refined pthread looping and barrier wait
seems like there was a bug in barrier_wait code that caused a infinite loop at times. pretty sure it is fixed
will attempt to animate opengl soonish