Restore restriction operator
more debuggging utils
more ts interface, including JS events
more testing
No leaks, needs cleanup
cleanup
more fixes & cleanup