Remove old code referencing dead templating functions
delete comments support via ajax
A bunch of AJAX improvements