Shuffled around several functions, AJAX-ified the post form, added a nifty loading spinner.