Fixed replies nesting.  Added permalink and permID to thread queries.  Some bug with it rendering.  I'm sure it's trivial.