much improved distance measuring logic, improves performance on mobile and fixes some crashes
delay client capability test until initialization phase
make view distance configurable #527
reduce overview depth on small screens
code formatting
reduce touch event threshold to make it more sensitive
renamed handled flag to captured
add embed option