Added call back to see state changes and final output from xhr.  Cleaned...

... up the filter function.

Added limit as a parameter.