variable sized opcodes

start to implement var opcodes
fix threading issue of direct call before iOS streams ready