transaction queue refactor:
- removed blocking queue
- removed loads of unnecessary semaphores
- x64 support
some x64 related fixes