Fixed several bugs with editing Factors and discussions. Also fixed javascript issue with the comments access key