fixed unknown issues with modifyClasses() and the hiding and restoring classes declared in apl-hide's
turns out I needed the timestamping of the scope. Moved pruning to after compilation as to not hang UI while pruning. Now it's the last thing we do. It would be even better to move this to a web worker (where available). Also doing the time stamping outside of compile(). This removes the need for the useGivenScope paramater to compile()
default partial targeting now implemented
a lot of stuff to enable default loading of partials. This will allow for modular design of sites with partials for elements like sidebars and navigations. I had to make serious changes to file loading and compilation pieces. NAmely compile() can now spin off 'threads' if/when it see default-partial tags in a it's root node. This 'thread' has 2 parts. first it loads the content, then compiles it. This was causing multiple interpolations to happen. To fix this I added a state variable that acts like a semaphore. it keeps count of how many 'threads' are in flight. nly when this count is 0 will I interpolate and prune. I also had to adda queue for onloads. this is because we could have multiple onload events due to multiple default templates.
fixed control pruning by adding scope