-some test prototyping changes
-use standard synchronization locks instead of reentrant locks to create less garbage on android
-fix some Util methods to produce less/no garbage