Fixup for moving compilation to /compiled
Test and correct asynchronous events.
Add depth marker to function tracing.
Use depth marker to test whether events are sync or async.
Add trace index to decoded traces and to recording paths so
trace and recording can be matched up.
Fix player event handling esp. order of operations.
The DOM elements with attribute 'id' are bound to JS globals with name equal to the id value