Converted more postback code to AJAX. Fixed edit note.