Update Robit.cpp

 - Make thread functions non-class
 - Fix kForward/kReverse issues
 - Fix aggregate initialization issues
   - This compiler doesn't support c99 :(