got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls