Category stuff now works. Desperately need to refactor; also bug with entries returned via AJAX not getting their events bound.