- rewrote some code to make it a bit faster.
- wrote a simple profiler page to use with Chrome developer tools.